#pragma once
#ifndef _PLAYER_H_
#define _PLAYER_H_
#include "Creature.h"
class Player : public Creature {
private:
    bool is_move_up = false;
    bool is_move_down = false;
    bool is_move_left = false;
    bool is_move_right = false;
public:
    Player(int id, bool is_alive,int x,int y,int life_count,double speed);
    ~Player()override = default;

    bool CheckCollision() override;
    int GetId() override;
    void ConsumeLife() override;
    Creature::creatureType GetCreatureType() override;
    Pos GetPos() override;
    double SetSpeed(double speed) override;
    void move(int value);
};

#endif
